const shiftPage = (url) => {
    const path = window.location.pathname;
    const host = window.location.origin;
    const pss = path.split('/');
    pss.splice(pss.length - 2, 2);
    const npth = pss.join('/');
    const uss = url.split('');
    uss.splice(0, 2);
    const nurl = uss.join('');
    location.replace(host + npth + nurl);
};


document.getElementById('nextSection').onclick = () => {
    shiftPage('../xiaoxing02/dist/index.html');
};